function leftTopSoftKey() {
	//links oben
}

function rightTopSoftKey() {
	//read
	var selectedDiv = document.getElementById('listItemSelected');
	var selectedText = selectedDiv.lastChild.firstChild.innerText;
	var softKey = document.getElementById('softKeyRightTop');

	chrome.tts.isSpeaking(function(isSpeaking) {
		if (isSpeaking || isReading != 0) {
			chrome.tts.stop();
			clearTimeout(isReading);
			isReading = 0;
			softKey.innerText = 'Vorlesen';
		}
		else {
			softKey.innerText = 'Stop';
			chrome.tts.getVoices(function(va) {
				chrome.tts.speak(selectedText,
							{voiceName: va[0].voiceName,
							//volume: getItemSessionStorage('volume')-0,
							onEvent   : function(event) {
											if (event.type == 'end') {
												isReading = setTimeout('readNext();', 2000);//bisschen verzoegern...
											}
										}
							}
					);
			});
		}
	});
}

function readNext() { //not nice, but works
	isReading = 0;
	var curSelDiv = document.getElementById('listItemSelected');
	navigationList(SLIDE_LEFT);//next
	var newSelDiv = document.getElementById('listItemSelected');
	
	if (curSelDiv !== newSelDiv) {
		navigationList(SK_NE);//read
	}
	else { //finished
		var softKey = document.getElementById('softKeyRightTop');
		softKey.innerText = 'Vorlesen';
	}
}

function leftBottomSoftKey() {
	//links unten
}

function rightBottomSoftKey() {
	//rechts unten
}